$black: #111;
$white: #fff;
$gray: #999aaa;

@mixin arrow {
  width: 0;
  height: 0;
  border: 12px solid;
  position: absolute;
}

@mixin rect {
  position: absolute;
  width: 16px;
  height: 12px;
  background-color: $gray;
}

:host ::ng-deep {
  ledge-card {
    .card {
      min-width: 220px;
    }
  }
}

.table-steps {
  display: block;
}

.step-row {
  display: flex;
  align-items: flex-start;
  height: 430px;
  margin-bottom: 15px;

  .column {
    display: flex;
    align-items: center;
    height: 90%;
  }

  &-reverse {
    flex-direction: row-reverse;
  }

  &-reverse > &-wrap {
    flex-direction: column-reverse;
  }

  &-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.arrow-down-symbol {
  position: relative;
  left: 18px;
}

.arrow {
  position: relative;
  width: 68px;

  &-right {
    @include arrow;
    left: 30px;
    border-color: transparent transparent transparent $gray;
  }

  &-left {
    @include arrow;
    right: 30px;
    border-color: transparent $gray transparent transparent;
  }

  &-down {
    @include arrow;
    top: 30px;
    border-color: $gray transparent transparent transparent;
  }
}

.rect {
  &-left {
    @include rect;
    top: 6px;
    left: 18px;
  }

  &-right {
    @include rect;
    top: 6px;
    right: 18px;
  }

  &-down {
    @include rect;
    top: 18px;
    left: 6px;
    width: 12px;
    height: 18px;
  }
}
